<template>
    <div class="userAddOrUpdate el-container" >
        <el-form ref="form" :model="form" label-width="80px">
            <el-form-item hidden label="id">
                <el-input v-model="form.id"></el-input>
            </el-form-item>
            <el-form-item  label="用户名">
                <el-input v-model="form.name"></el-input>
            </el-form-item>
            <el-form-item  label="头像">
                <el-input v-model="form.name"></el-input>
            </el-form-item>
            <el-form-item  label="权限">
                <el-input v-model="form.name"></el-input>
            </el-form-item>

            <el-form-item label="状态">
                <el-select v-model="form.region" placeholder="请选择状态">
                    <el-option label="禁用" value="shanghai"></el-option>
                    <el-option label="正常" value="beijing"></el-option>
                </el-select>
            </el-form-item>
            <el-form-item>
                <el-button type="primary" @click="onSubmit">立即创建</el-button>
                <el-button>取消</el-button>
            </el-form-item>
        </el-form>
    </div>
</template>

<script src="./_userAddOrUpdate.js" lang="js"></script>
<style src="./_userAddOrUpdate.less" lang="less" scoped></style>
